﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BudgetManager.Domain
{
    public abstract class AbstractValue
    {
        public int Id { get;  set; }
        public String Description { get; set; }
        public Category Category{get;set;}
        public double Money{get;set;}
        public DateTime FullDate { get; set; }

        public abstract String Type { get; }


        public String FormatDate { get { return String.Format("{0}-{1}-{2}", FullDate.Year, FullDate.Month, FullDate.Day); } }
    }
}
